package com.ymxx.jweb.dao.security;

import org.springframework.stereotype.Repository;

import com.ymxx.jweb.dao.YMXXBaseDao;
import com.ymxx.jweb.persistence.organization.Employee;

@Repository("employeeDao")
public class EmployeeDao extends YMXXBaseDao<Employee>{

	/**
	 * 添加一个新的员工
	 * @param employee
	 * @throws Exception
	 */
	public void addEmployee(Employee employee)throws Exception{
		
		this.save(employee);
	}
}
